
<h1>博客列表</h1>
<% @articles.each do |article| %>
  <div class="media">

    <div class="media-body">
      <h4 class="media-heading"><a href="/articles/<%= article.id %>">标题: <%= article.title %></a></h4>
      <div class="media-heading">作者: <%= article.username %></div>
      <div class="method-detail">内容：<%= article.text %></div>
    </div>
  </div>
<% end %>

